package com.yumoq.cloud.content.dao;

import com.yumoq.cloud.content.domain.CommodityMessage;
import com.yumoq.cloud.content.domain.CommodityMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CommodityMessageMapper {
    int countByExample(CommodityMessageExample example);

    int deleteByExample(CommodityMessageExample example);

    int deleteByPrimaryKey(Integer commodityId);

    int insert(CommodityMessage record);

    int insertSelective(CommodityMessage record);

    List<CommodityMessage> selectByExampleWithBLOBs(CommodityMessageExample example);

    List<CommodityMessage> selectByExample(CommodityMessageExample example);

    CommodityMessage selectByPrimaryKey(Integer commodityId);

    int updateByExampleSelective(@Param("record") CommodityMessage record, @Param("example") CommodityMessageExample example);

    int updateByExampleWithBLOBs(@Param("record") CommodityMessage record, @Param("example") CommodityMessageExample example);

    int updateByExample(@Param("record") CommodityMessage record, @Param("example") CommodityMessageExample example);

    int updateByPrimaryKeySelective(CommodityMessage record);

    int updateByPrimaryKeyWithBLOBs(CommodityMessage record);

    int updateByPrimaryKey(CommodityMessage record);
}